﻿using System;
using System.Collections.Generic;
using System.Data;
using eSYSU.Model;

/// <summary>
/// 新闻接口
/// </summary>
public interface INews
{
    /// <summary>
    /// 获取指定数量的最新新闻
    /// </summary>
    /// <param name="newsCount">newsCount</param>
    /// <returns>IList</returns>
    IList<News> GetLatestNews(int newsCount);


    /// <summary>
    /// 获取指定数量的最新新闻
    /// </summary>
    /// <param name="newsCount">newsCount</param>
    /// <returns>DataTable</returns>
    DataTable GetLatestNewsTable(int newsCount);
}